<?php

/**
 * contact actions.
 *
 * @package    jobeet
 * @subpackage contact
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class contactActions extends sfActions
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeIndex(sfWebRequest $request)
  {
    $this->form = new ContactForm();
  }
  public function executeSubmit($request)
  {
    $this->forward404Unless($request->isMethod('post'));
   
    $params = array(
      'name'    => $request->getParameter('name'),
      'email'   => $request->getParameter('email'),
      'message' => $request->getParameter('message'),
    );
   
    //$this->redirect('/contact/thank?'.http_build_query($params));
  }
 
  public function executeThankyou()
  {
    
  }
}
